package com.swt.draw.entity;

import java.io.Serializable;

public class Department implements Serializable {
    private String departmentNo;

    private String departmentParentNo;

    private String departmentName;

    private Short departmentStatus;

    private String departmentCreateTime;

    private String departmentCreateBy;

    private String departmentExtend1;

    private String departmentExtend2;

    private String departmentRemark;

    private static final long serialVersionUID = 1L;

    public String getDepartmentNo() {
        return departmentNo;
    }

    public void setDepartmentNo(String departmentNo) {
        this.departmentNo = departmentNo == null ? null : departmentNo.trim();
    }

    public String getDepartmentParentNo() {
        return departmentParentNo;
    }

    public void setDepartmentParentNo(String departmentParentNo) {
        this.departmentParentNo = departmentParentNo;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
    }

    public Short getDepartmentStatus() {
        return departmentStatus;
    }

    public void setDepartmentStatus(Short departmentStatus) {
        this.departmentStatus = departmentStatus;
    }

    public String getDepartmentCreateTime() {
        return departmentCreateTime;
    }

    public void setDepartmentCreateTime(String departmentCreateTime) {
        this.departmentCreateTime = departmentCreateTime == null ? null : departmentCreateTime.trim();
    }

    public String getDepartmentCreateBy() {
        return departmentCreateBy;
    }

    public void setDepartmentCreateBy(String departmentCreateBy) {
        this.departmentCreateBy = departmentCreateBy == null ? null : departmentCreateBy.trim();
    }

    public String getDepartmentExtend1() {
        return departmentExtend1;
    }

    public void setDepartmentExtend1(String departmentExtend1) {
        this.departmentExtend1 = departmentExtend1 == null ? null : departmentExtend1.trim();
    }

    public String getDepartmentExtend2() {
        return departmentExtend2;
    }

    public void setDepartmentExtend2(String departmentExtend2) {
        this.departmentExtend2 = departmentExtend2 == null ? null : departmentExtend2.trim();
    }

    public String getDepartmentRemark() {
        return departmentRemark;
    }

    public void setDepartmentRemark(String departmentRemark) {
        this.departmentRemark = departmentRemark == null ? null : departmentRemark.trim();
    }

    @Override
    public String toString() {
        return "Department{" +
                "departmentNo='" + departmentNo + '\'' +
                ", departmentParentNo='" + departmentParentNo + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", departmentStatus=" + departmentStatus +
                ", departmentCreateTime='" + departmentCreateTime + '\'' +
                ", departmentCreateBy='" + departmentCreateBy + '\'' +
                ", departmentExtend1='" + departmentExtend1 + '\'' +
                ", departmentExtend2='" + departmentExtend2 + '\'' +
                ", departmentRemark='" + departmentRemark + '\'' +
                '}';
    }
}
